package cn.admin.config.common.lang.exception;

import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.Serializable;

public interface ChainedThrowable extends Serializable {

    Throwable getCause();

    void printStackTrace();

    void printStackTrace(PrintStream p);

    void printStackTrace(PrintWriter p);

    void printCurrentStackTrace(PrintWriter p);

}
